cod_get_user_unlimited_ammo

Syntax

native cod_get_user_unlimited_ammo(id, type = ALL, weapon = 0);

Usage

id
Player index
type
Bonus type, valid types are:
ALL - overall
CLASS - for class
ITEM - for item
ADDITIONAL - static bonus
ROUND - until round end
DEATH - until death
DAMAGE_GIVEN - until player damage enemy
DAMAGE_TAKEN - until player is hurt
weapon
Weapon in CSW_* format to check for

Description

Returns if player has unlimited ammo.

Return

1 if player has unlimited ammo, 0 otherwise